package com.lap.auth.adapter.driving.persistence.menu.po;

import com.lap.framework.entity.AbstractAudit;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Data
public class MenuPo extends AbstractAudit {
  @Serial private static final long serialVersionUID = -2179093214312563065L;

  private Integer id;
  private Integer pid;
  private String pidPath;
  private Integer type;
  private String path;
  private String name;
  private String component;
  private String redirect;
  private String link;
  private String permCode;
  private Integer sortOrder;

  // meta
  private String title;
  private String icon;
  private Integer hide;
  private Integer keepAlive;
  private Integer affix;
  private Integer iframe;
}
